/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.thinkgem.jeesite.modules.geomagnetic_sensor.service;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.thinkgem.jeesite.common.persistence.Page;
import com.thinkgem.jeesite.common.service.CrudService;
import com.thinkgem.jeesite.modules.geomagnetic_sensor.entity.GeomagneticSensor;
import com.thinkgem.jeesite.modules.geomagnetic_sensor.dao.GeomagneticSensorDao;

/**
 * 地磁传感器信息Service
 * @author xlp
 * @version 2019-04-12
 */
@Service
@Transactional(readOnly = true)
public class GeomagneticSensorService extends CrudService<GeomagneticSensorDao, GeomagneticSensor> {

	public GeomagneticSensor get(String id) {
		return super.get(id);
	}
	
	public List<GeomagneticSensor> findList(GeomagneticSensor geomagneticSensor) {
		return super.findList(geomagneticSensor);
	}
	
	public Page<GeomagneticSensor> findPage(Page<GeomagneticSensor> page, GeomagneticSensor geomagneticSensor) {
		return super.findPage(page, geomagneticSensor);
	}
	
	@Transactional(readOnly = false)
	public void save(GeomagneticSensor geomagneticSensor) {
		super.save(geomagneticSensor);
	}
	
	@Transactional(readOnly = false)
	public void delete(GeomagneticSensor geomagneticSensor) {
		super.delete(geomagneticSensor);
	}
	
}